/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TimeRecording.enums;

/**
 *
 * @author dpatchett
 */
public enum EventType {

    INVALID_EMPLOYEE("Invalid employee encountered"),
    WORKING_PATTERN_MODIFIED("Working pattern modified for employee"),
    NO_WORKING_PATTERN("No patterns defined for employee"),
    ALREADY_CLOCKED_IN("Attempt to clock out when not clocked in"),
    ALREADY_CLOCKED_OUT("Attempt to clock in when not clocked out"),
    CLOCKED_IN_LATE("Employee Clocked In Late"),
    CLOCKED_OUT_EARLY("Employee Clocked Out Early"),
    SICK_LEAVE_EXCEEDED("Maximum sickness threshold passed"),
    FLEXI_CREDIT_EXCEEDED("Maximum flexi credit passed"),
    FLEXI_DEBIT_EXCEEDED("Maximum flexi debit passed"),
    NEW_EMPLOYEE_CREATED("New employee created"),
    EMPLOYEE_DELETED("Employee deleted"),
    UNAPPROVED_HOLIDAYS("There are unapproved holiday requests"),
    UNACKNOWLEDGED_SICKNESS("There are unacknowledged sickness reports"),
    NOT_CLOCKED_OUT("Employee did not log out; an estimated time has been generated");
            
    private String description;

    private EventType(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return description;
    }
}
